package com.efun.framework.beetlview;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Created by kinven on 17-8-16.
 */
@ConfigurationProperties(prefix = "beetlview")
public class BeetlViewProperties {

    private final static String DEFAULT_CONTENT_TYPE="text/html;charset=UTF-8";
    private final static String DEFAULT_VIEWNAMES = "/**/*.btl";
    private final static String DEFUALT_TEMPLATES_PATH = "/config/views";

    private String templatesPath=DEFUALT_TEMPLATES_PATH;
    private String viewNames = DEFAULT_VIEWNAMES;
    private String contentType=DEFAULT_CONTENT_TYPE;
    private int order = 0;

    public String getTemplatesPath() {
        return templatesPath;
    }

    public void setTemplatesPath(String templatesPath) {
        this.templatesPath = templatesPath;
    }


    public String getViewNames() {
        return viewNames;
    }

    public void setViewNames(String viewNames) {
        this.viewNames = viewNames;
    }


    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }
}
